#!/usr/bin/env python
# coding=utf-8
from .base import BaseConfig


class DevelopConfig(BaseConfig):
    DEBUG = True
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    # SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    SQLALCHEMY_RECORD_QUERIES = True
    # SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
    #     'sqlite:///' + os.path.join(basedir, 'data.sqlite')
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:123456@localhost:3306/nxshare?charset=utf8mb4'
    EMAIL_FROM = ''
    EMAIL_ACTIVE = ''
    EMAIL_HOST_PASSWORD = ''
    EMAIL_SUBJECT = 'nxshare'

